package com.game.thrones.domain.webpage;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.game.thrones.domain.IdEntity.IdEntityAuto;


//import io.swagger.annotations.ApiModelProperty;

/**
 * 
 * 
 * @Description:课程
 * 
 * 
 */
//@ApiModel
@Entity
@Table(name = "web_course")
public class WebCourseDO extends IdEntityAuto implements Serializable {
	private static final long serialVersionUID = 1L;
//	@ApiModelProperty("类型 1会员活动、2常规课程")
	@Column(nullable = false, length = 20)
	private Integer type;
//	@ApiModelProperty("课程名称")
	@Column(nullable = false, length = 50)
	private String name;
//	@ApiModelProperty("讲师")
	@Column(nullable = false, length = 20)
	private String lecturer;
//	@ApiModelProperty("课程时间")
	private Date courseTime;
//	@ApiModelProperty("地址")
	@Column(nullable = false, length = 512)
	private String address;
//	@ApiModelProperty("适合人群")
	@Column(nullable = false, length = 50)
	private String crowd;
//	@ApiModelProperty("人数限制")
	private Integer number;

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getLecturer() {
		return lecturer;
	}

	public void setLecturer(String lecturer) {
		this.lecturer = lecturer;
	}

	public Date getCourseTime() {
		return courseTime;
	}

	public void setCourseTime(Date courseTime) {
		this.courseTime = courseTime;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getCrowd() {
		return crowd;
	}

	public void setCrowd(String crowd) {
		this.crowd = crowd;
	}

	public Integer getNumber() {
		return number;
	}

	public void setNumber(Integer number) {
		this.number = number;
	}

}
